﻿using ApiLib.AppStart;
using SqlSugar;

namespace ApiLib.Models;

/// <summary>
/// 提醒设置
///</summary>
[Tenant(GlobalConstants.MainDbConfigId), SugarTable("sys_remind_config")]
public class SysRemindConfig
{
    /// <summary>
    ///  
    ///</summary>
    [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
    public int Id { get; set; }

    /// <summary>
    /// 数据类型 
    ///</summary>
    [SugarColumn(ColumnName = "data_type")]
    public string DataType { get; set; }

    /// <summary>
    /// 是否忽略 
    ///</summary>
    [SugarColumn(ColumnName = "ignore")]
    public bool Ignore { get; set; }

    /// <summary>
    /// 创建人 
    ///</summary>
    [SugarColumn(ColumnName = "create_user")]
    public string CreateUser { get; set; }

    /// <summary>
    /// 创建时间 
    ///</summary>
    [SugarColumn(ColumnName = "create_time",InsertServerTime = true)]
    public DateTime CreateTime { get; set; }
}